import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/pp/order/list',
    method: 'get',
    params
  })
}

export function detail(orderId) {
  return request({
    url: '/pp/order/detail',
    method: 'get',
    params: { id: orderId }
  })
}
